<template>
  <div class="a">
    <div class="cxtj">
      <p>查询条件</p>
      <div>
        <span>时间区间：</span>
        <el-date-picker
          v-model="value1"
          type="datetimerange"
          range-separator="至"
          start-placeholder="开始日期"
          end-placeholder="结束日期"
        >
        </el-date-picker>
      </div>
      <el-button type="small">查询</el-button>
    </div>
    <div class="list">
      <p>结果列表</p>
      <el-table :data="tableData" style="width: 100%">
        <el-table-column prop="date" label="制作时间"> </el-table-column>
        <el-table-column prop="name" label="影响区域"> </el-table-column>
        <el-table-column prop="address" label="气象预报时间"> </el-table-column>
        <el-table-column prop="address" label="预报雨量类型"> </el-table-column>
        <el-table-column prop="address" label="制作人"> </el-table-column>
      </el-table>
      <div class="btn">
        <el-button type="small">文档查看</el-button>
        <el-button type="small">详情查看</el-button>
      </div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
};
</script>
<style scoped lang="less">
.a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  justify-content: center;
  .cxtj {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #dedede;
    .el-date-editor {
      width: 250px;
      margin: 10px;
    }
    p,
    .el-button {
      margin: 10px;
    }
  }
  .list {
    display: flex;
    flex-direction: column;
    align-items: center;
    p,
    .btn {
      margin: 10px;
    }
  }
}
</style>
